package org.elcom.source;

public class VASItem {
	
    public static String MSISDN = "";
    public static String TIME = "";
    public static String PROGRAM_ID = "";
    public static String CONTENT = "";
    public static String LAC = "";
    public static String CELL_ID = "";
    public static String SHORT_CODE = "";
    public static String TITLE = "";
    public static String MENU_INDEX = "";
    public static String LONGITUDE = "";
    public static String LATITUDE = "";
    public static String VAS_TRANS_ID = "";
    
    public VASItem(String[] parts){
    	for(int i = 0; i < parts.length ; i ++){
            MSISDN          = parts[0];
            TIME            = parts[1];
            PROGRAM_ID      = parts[2];
            CONTENT         = parts[3];
            LAC             = parts[4];
            CELL_ID         = parts[5];
            SHORT_CODE      = parts[6];
            TITLE           = parts[7];
            MENU_INDEX      = parts[8];
            LONGITUDE       = parts[9];
            LATITUDE        = parts[10];
            VAS_TRANS_ID    = parts[11];
            
        }
    }
    
    public String getMSISDN(){
		return MSISDN;	
    }
    public String getTime(){
    	if(TIME == "NULL"){
    		return "NULL";
    	}else {
    		return TIME;
    	}
    }
    public String getProgram_ID(){
    	if(PROGRAM_ID == "NULL"){
    		return "NULL";
    	}else {
    		return PROGRAM_ID;
    	}
    }
    public String getContent(){
    	if(CONTENT == "NULL"){
    		return "NULL";
    	}else {
    		return CONTENT;
    	}
    }
    public String getLac(){
    	if(LAC == "NULL"){
    		return "NULL";
    	}else {
    		return LAC;
    	}
    }
    public String getCell_ID(){
    	if(CELL_ID == "NULL"){
    		return "NULL";
    	}else {
    		return CELL_ID;
    	}
    }
    public String getShort_Code(){
    	if(SHORT_CODE == "NULL"){
    		return "NULL";
    	}else {
    		return SHORT_CODE;
    	}
    }
    public String getTitle(){
    	if(TITLE == "NULL"){
    		return "NULL";
    	}else {
    		return TITLE;
    	}
    }
    public String getMenu_Index(){
    	if(MENU_INDEX == "NULL"){
    		return "NULL";
    	}else {
    		return MENU_INDEX;
    	}
    }
    public String getLongitude(){
    	if(LONGITUDE == "NULL"){
    		return "NULL";
    	}else {
    		return LONGITUDE;
    	}
    }
    public String getLatitude(){
    	if(LATITUDE == "NULL"){
    		return "NULL";
    	}else {
    		return LATITUDE;
    	}
    }
    public String getVAS_Trans_ID(){
		return VAS_TRANS_ID;
    }
    
    
    public static void setMSISDN(String mSISDN) {
		MSISDN = mSISDN;
	}
	public static void setTIME(String tIME) {
		TIME = tIME;
	}
	public static void setPROGRAM_ID(String pROGRAM_ID) {
		PROGRAM_ID = pROGRAM_ID;
	}
	public static void setCONTENT(String cONTENT) {
		CONTENT = cONTENT;
	}
	public static void setLAC(String lAC) {
		LAC = lAC;
	}
	public static void setCELL_ID(String cELL_ID) {
		CELL_ID = cELL_ID;
	}
	public static void setSHORT_CODE(String sHORT_CODE) {
		SHORT_CODE = sHORT_CODE;
	}
	public static void setTITLE(String tITLE) {
		TITLE = tITLE;
	}
	public static void setMENU_INDEX(String mENU_INDEX) {
		MENU_INDEX = mENU_INDEX;
	}
	public static void setLONGITUDE(String lONGITUDE) {
		LONGITUDE = lONGITUDE;
	}
	public static void setLATITUDE(String lATITUDE) {
		LATITUDE = lATITUDE;
	}
	public static void setVAS_TRANS_ID(String vAS_TRANS_ID) {
		VAS_TRANS_ID = vAS_TRANS_ID;
	}
}
